<?php
namespace app\api\controller;

use think\Controller;
use think\Request;

class User extends Controller
{
    public function index(Request $request)
    {
        $arr = array('111' => 'hah', '22' => '这是user的index方法');
        return ((object)$arr);
    }
}